package com.x.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * ClassName: UserController
 * Package: IntelliJ IDEA
 * Description:
 * Written by HanXu
 * Create 2024.09.13 9:48
 */

@Controller
@RequestMapping("order")
public class OrderController {

    @GetMapping("data1")
    public String data1(){
        System.out.println("OrderController.data1");
        return "data1";
    }

    @GetMapping("data2")
    public String data2(){
        System.out.println("OrderController.data2");
        return "data2";
    }
}
